#include "display.h"
#include "stdio.h"


void display_fee(void)
{
	u8 str[30];
	
	LCD_DisplayStringLine(Line3, " ID Code  Fee     ");
	sprintf((char *)str,"   %d      %dYuan   ",,fate);
	LCD_DisplayStringLine(Line4,str);
}

void display_fate(void)
{
		u8 str[30];
	
	LCD_DisplayStringLine(Line3, " ID Code  Rates     ");
	sprintf((char *)str,"   %d   %d   ",,fate);
	LCD_DisplayStringLine(Line4,str);
}

void display_time(void)
{
	int h = sec[car_site]/3600;
	int m = sec[car_site]%3600/60;
	int s = sec[car_site]%60;
	u8 str[30];
	
	
	LCD_DisplayStringLine(Line3, "   ID Code   Time     ");
	
	sprintf((char *)str,"   %d      %d:%d:%d   ",,h,m,s);
	LCD_DisplayStringLine(Line4,str);
}